﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
namespace MyActiveXSample {

    [Guid("81880994-8CB8-4BC1-B2E6-4A089B2FA7AF")]
    public partial class UserControl1 : UserControl {
        public UserControl1() {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e) {

            MessageBox.Show(this.textBox1.Text);
        }
    }
}
